<html>

<head>
    <meta charset="utf-8">
    <title>会员卡</title>
    {php include $this->template($this->cur_tpl.'/_common_meta');}
    <link rel="stylesheet" type="text/css" href="{RES}mobile/{php echo $this->cur_tpl}/css/main.css" media="all">
    <link rel="stylesheet" type="text/css" href="{RES}mobile/{php echo $this->cur_tpl}/css/dialog.css" media="all">
    <script type="text/javascript" src="{RES}mobile/{php echo $this->cur_tpl}/js/jquery_min.js"></script>
    <script type="text/javascript" src="{RES}mobile/{php echo $this->cur_tpl}/js/main.js"></script>
</head>

<body onselectstart="return true;" ondragstart="return false;">
    <script>
        // 	$().ready(function(){
        //
        // });
    </script>
    <div class="bc-bg container integral integral_record integral_my coupon {if empty($list)}none{/if}">
        <div class="bc-ban-score">
            <div class="bc-ban-score-my">我的积分</div>
            <h2>{$balance_score}</h2>
            <p>累计共获得积分{$balance_score}</p>
        </div>
        <div class="bc-title1" style="font-size:13px;color:#333">
            积分收支明细
        </div>
        <div class="body bc-bg-white">
            <section class="p_10">
                <table class="table_record">
                    <thead>
                        <tr>
                            <td style="width:30%;">积分详情</td>
                            <td style="width:50%;">日期</td>
                            <td style="width:20%;">积分</td>
                        </tr>
                    </thead>
                    <tbody>
                        {loop $list $item}
                        <tr>
                            <td>{$item['title']}</td>
                            <td>{php echo date('Y年m月d日', $item[dateline]);}</td>
                            <td>{if $item['operationtype']==1}+{else}-{/if}{$item['score']}</td>
                        </tr>
                        {/loop}
                    </tbody>
                </table>
            </section>
        </div>
        {if !empty($card)}
        {php include $this->template($this->cur_tpl.'/_footer');}
        {/if}
        <script type="text/javascript">
            document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
                WeixinJSBridge.call('hideToolbar');
            });
        </script>
    </div>
</body>

</html>